HipColorf

This construct is compatible with float[4] when setting a shader variable.

Constructors

this
this(HipColor c)
Undocumented in source.
this
this(float r, float g, float b, float a)
Undocumented in source.

Members

Functions

opAssign
auto opAssign(HipColorf color)
Undocumented in source. Be warned that the author may not have intended to support it.
toInteger
uint toInteger()
Undocumented in source. Be warned that the author may not have intended to support it.
unpackRGBA
ubyte[4] unpackRGBA()
Undocumented in source. Be warned that the author may not have intended to support it.

Static functions

fromInt
HipColorf fromInt(uint color)
Undocumented in source. Be warned that the author may not have intended to support it.

Static variables

black
enum black;
Undocumented in source.
blue
enum blue;
Undocumented in source.
green
enum green;
Undocumented in source.
invalid
enum invalid;
Undocumented in source.
no
enum no;
Undocumented in source.
purple
enum purple;
Undocumented in source.
red
enum red;
Undocumented in source.
teal
enum teal;
Undocumented in source.
white
enum white;
Undocumented in source.
yellow
enum yellow;
Undocumented in source.

Unions

__anonymous
union __anonymous
Undocumented in source.

Meta